/*
 * <p>Copyright ®Alyce_WX版权所有。</p>
 * 类名:TagQO
 * 创建人:alyce_wx
 * 创建时间:2017-03-30
 */
package com.wx.demo.wcd.domain.qo;

import java.util.List;
import com.yjhl.framework.dao.query.QO;

/**
 * query class for Tag 
 * @author alyce_wx
 * @since 1.8
 * @version 1.0.0  
 */
 
public class TagQO extends QO {
    private static final long serialVersionUID = 1L;
    
    /**
     * 标签表标识
     */
    private String tagId;    
    private List<String> tagId_list;
    private String tagId_notnull = "N";
    private String tagId_notequal;
    private boolean tagId_like;
    
    /**
     * 标签编码
     */
    private String tagCode;    
    private List<String> tagCode_list;
    private String tagCode_notnull = "N";
    private String tagCode_notequal;
    private boolean tagCode_like;
    
    /**
     * 作者表标识
     */
    private String authorId;    
    private List<String> authorId_list;
    private String authorId_notnull = "N";
    private String authorId_notequal;
    private boolean authorId_like;
    
    /**
     * 作品表标识
     */
    private String worksId;    
    private List<String> worksId_list;
    private String worksId_notnull = "N";
    private String worksId_notequal;
    private boolean worksId_like;
    
    public String getTagId() {
        return tagId;
    }
    
    public void setTagId(String tagId) {
        this.tagId = tagId;
    }
    public List<String> getTagId_list() {
        return tagId_list;
    }
    
    public void setTagId_list(List<String> tagId_list) {
        this.tagId_list = tagId_list;
    }
    public String getTagId_notequal() {
        return tagId_notequal;
    }
    
    public void setTagId_notequal(String tagId_notequal) {
        this.tagId_notequal = tagId_notequal;
    }
    public String getTagId_notnull() {
        return tagId_notnull;
    }
    
    public void setTagId_notnull(String tagId_notnull) {
        this.tagId_notnull = tagId_notnull;
    }
    
    public boolean isTagId_like() {
        return tagId_like;
    }
    
    public void setTagId_like(boolean tagId_like) {
        this.tagId_like = tagId_like;
    }
    
    public String getTagCode() {
        return tagCode;
    }
    
    public void setTagCode(String tagCode) {
        this.tagCode = tagCode;
    }
    public List<String> getTagCode_list() {
        return tagCode_list;
    }
    
    public void setTagCode_list(List<String> tagCode_list) {
        this.tagCode_list = tagCode_list;
    }
    public String getTagCode_notequal() {
        return tagCode_notequal;
    }
    
    public void setTagCode_notequal(String tagCode_notequal) {
        this.tagCode_notequal = tagCode_notequal;
    }
    public String getTagCode_notnull() {
        return tagCode_notnull;
    }
    
    public void setTagCode_notnull(String tagCode_notnull) {
        this.tagCode_notnull = tagCode_notnull;
    }
    
    public boolean isTagCode_like() {
        return tagCode_like;
    }
    
    public void setTagCode_like(boolean tagCode_like) {
        this.tagCode_like = tagCode_like;
    }
    
    public String getAuthorId() {
        return authorId;
    }
    
    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }
    public List<String> getAuthorId_list() {
        return authorId_list;
    }
    
    public void setAuthorId_list(List<String> authorId_list) {
        this.authorId_list = authorId_list;
    }
    public String getAuthorId_notequal() {
        return authorId_notequal;
    }
    
    public void setAuthorId_notequal(String authorId_notequal) {
        this.authorId_notequal = authorId_notequal;
    }
    public String getAuthorId_notnull() {
        return authorId_notnull;
    }
    
    public void setAuthorId_notnull(String authorId_notnull) {
        this.authorId_notnull = authorId_notnull;
    }
    
    public boolean isAuthorId_like() {
        return authorId_like;
    }
    
    public void setAuthorId_like(boolean authorId_like) {
        this.authorId_like = authorId_like;
    }
    
    public String getWorksId() {
        return worksId;
    }
    
    public void setWorksId(String worksId) {
        this.worksId = worksId;
    }
    public List<String> getWorksId_list() {
        return worksId_list;
    }
    
    public void setWorksId_list(List<String> worksId_list) {
        this.worksId_list = worksId_list;
    }
    public String getWorksId_notequal() {
        return worksId_notequal;
    }
    
    public void setWorksId_notequal(String worksId_notequal) {
        this.worksId_notequal = worksId_notequal;
    }
    public String getWorksId_notnull() {
        return worksId_notnull;
    }
    
    public void setWorksId_notnull(String worksId_notnull) {
        this.worksId_notnull = worksId_notnull;
    }
    
    public boolean isWorksId_like() {
        return worksId_like;
    }
    
    public void setWorksId_like(boolean worksId_like) {
        this.worksId_like = worksId_like;
    }
    

    @Override
	public String toString(){
		
		String toString = "{";
		  	 if(this.tagId != null){
		   	 	toString += (this.tagId+",");
		   	 }
		  	 if(this.tagCode != null){
		   	 	toString += (this.tagCode+",");
		   	 }
		  	 if(this.authorId != null){
		   	 	toString += (this.authorId+",");
		   	 }
		  	 if(this.worksId != null){
		   	 	toString += (this.worksId+",");
		   	 }
		  if(toString.lastIndexOf(",") == ( toString.length()-1)){
		  	toString = toString.substring(0, toString.length()-1);
		  }
		 toString += "}";
		return toString;
		
	}
	
	public String inputDescription(){
		
		String inputDescription = "{";
		   if(this.tagId != null){
		   		inputDescription += (this.tagId+" : 标签表标识,");
		   }
		   if(this.tagCode != null){
		   		inputDescription += (this.tagCode+" : 标签编码,");
		   }
		   if(this.authorId != null){
		   		inputDescription += (this.authorId+" : 作者表标识,");
		   }
		   if(this.worksId != null){
		   		inputDescription += (this.worksId+" : 作品表标识,");
		   }
		  if(inputDescription.lastIndexOf(",") == ( inputDescription.length()-1)){
		  	inputDescription = inputDescription.substring(0, inputDescription.length()-1);
		  }
		  inputDescription += "}";
		
		return inputDescription;
		
	}
}
